package com.wjh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wjh.pojo.Flower;
import com.wjh.utils.ResponseResult;

import java.util.List;


/**
 * 花的种类(Flower)表服务接口
 *
 * @author makejava
 * @since 2023-10-16 19:22:08
 */
public interface FlowerService extends IService<Flower> {

    ResponseResult flowerList(Integer pageNum, Integer pageSize, Integer type, String flowerName);

    ResponseResult delByIds(List<Integer> id);

    ResponseResult addFlower(Flower flower);

    void delByType(Integer typeId);

    ResponseResult queryTypeFlower(Integer floristId, Integer typeId);

    ResponseResult likeFlower(String name);
}
